package com.wyzz.hr.pojo.base;

import java.io.Serializable;
import java.util.Date;

import com.wyzz.hr.base.BaseDomain;
import com.wyzz.hr.pojo.Employee;

public abstract class BaseEmprelations extends BaseDomain implements
		Serializable {

	public BaseEmprelations() {
		erelBirthdayRemind = Integer.valueOf(0);
		initialize();
	}

	protected void initialize() {
	}

	public BaseEmprelations(String erelId) {
		erelBirthdayRemind = Integer.valueOf(0);
		this.erelId = erelId;
		initialize();
	}

	public BaseEmprelations(String erelId, Employee employee,
			String erelRelationship, String erelName, String erelCreateBy,
			Date erelCreateDate, String erelLastChangeBy,
			Date erelLastChangeTime) {
		erelBirthdayRemind = Integer.valueOf(0);
		this.erelId = erelId;
		this.employee = employee;
		this.erelRelationship = erelRelationship;
		this.erelName = erelName;
		this.erelCreateBy = erelCreateBy;
		this.erelCreateDate = erelCreateDate;
		this.erelLastChangeBy = erelLastChangeBy;
		this.erelLastChangeTime = erelLastChangeTime;
	}

	public BaseEmprelations(String erelId, Employee employee,
			String erelRelationship, String erelName, Date erelBirthday,
			Integer erelBirthdayRemind, String erelCompany,
			String erelPosition, String erelContactInfo, String erelCreateBy,
			Date erelCreateDate, String erelLastChangeBy,
			Date erelLastChangeTime) {
		this.erelBirthdayRemind = Integer.valueOf(0);
		this.erelId = erelId;
		this.employee = employee;
		this.erelRelationship = erelRelationship;
		this.erelName = erelName;
		this.erelBirthday = erelBirthday;
		this.erelBirthdayRemind = erelBirthdayRemind;
		this.erelCompany = erelCompany;
		this.erelPosition = erelPosition;
		this.erelContactInfo = erelContactInfo;
		this.erelCreateBy = erelCreateBy;
		this.erelCreateDate = erelCreateDate;
		this.erelLastChangeBy = erelLastChangeBy;
		this.erelLastChangeTime = erelLastChangeTime;
	}

	public Employee getEmployee() {
		return employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Date getErelBirthday() {
		return erelBirthday;
	}

	public void setErelBirthday(Date erelBirthday) {
		this.erelBirthday = erelBirthday;
	}

	public Integer getErelBirthdayRemind() {
		return erelBirthdayRemind;
	}

	public void setErelBirthdayRemind(Integer erelBirthdayRemind) {
		this.erelBirthdayRemind = erelBirthdayRemind;
	}

	public String getErelCompany() {
		return erelCompany;
	}

	public void setErelCompany(String erelCompany) {
		this.erelCompany = erelCompany;
	}

	public String getErelContactInfo() {
		return erelContactInfo;
	}

	public void setErelContactInfo(String erelContactInfo) {
		this.erelContactInfo = erelContactInfo;
	}

	public String getErelCreateBy() {
		return erelCreateBy;
	}

	public void setErelCreateBy(String erelCreateBy) {
		this.erelCreateBy = erelCreateBy;
	}

	public Date getErelCreateDate() {
		return erelCreateDate;
	}

	public void setErelCreateDate(Date erelCreateDate) {
		this.erelCreateDate = erelCreateDate;
	}

	public String getErelId() {
		return erelId;
	}

	public void setErelId(String erelId) {
		this.erelId = erelId;
	}

	public String getErelLastChangeBy() {
		return erelLastChangeBy;
	}

	public void setErelLastChangeBy(String erelLastChangeBy) {
		this.erelLastChangeBy = erelLastChangeBy;
	}

	public Date getErelLastChangeTime() {
		return erelLastChangeTime;
	}

	public void setErelLastChangeTime(Date erelLastChangeTime) {
		this.erelLastChangeTime = erelLastChangeTime;
	}

	public String getErelName() {
		return erelName;
	}

	public void setErelName(String erelName) {
		this.erelName = erelName;
	}

	public String getErelPosition() {
		return erelPosition;
	}

	public void setErelPosition(String erelPosition) {
		this.erelPosition = erelPosition;
	}

	public String getErelRelationship() {
		return erelRelationship;
	}

	public void setErelRelationship(String erelRelationship) {
		this.erelRelationship = erelRelationship;
	}

	public static String REF = "Emprelations";
	public static String PROP_EREL_ERELID = "erelId";
	public static String PROP_EREL_EMPLOYEE = "employee";
	public static String PROP_EREL_ERELRELATIONSHIP = "erelRelationship";
	public static String PROP_EREL_ERELNAME = "erelName";
	public static String PROP_EREL_ERELBIRTHDAY = "erelBirthday";
	public static String PROP_EREL_ERELBIRTHDAYREMIND = "erelBirthdayRemind";
	public static String PROP_EREL_ERELCOMPANY = "erelCompany";
	public static String PROP_EREL_ERELPOSTION = "erelPosition";
	public static String PROP_EREL_ERELCONTACTINFO = "erelContactInfo";
	public static String PROP_EREL_ERELCREATEBY = "erelCreateBy";
	public static String PROP_EREL_ERELCREATEDATE = "erelCreateDate";
	public static String PROP_EREL_ERELLASTCHANGEBY = "erelLastChangeBy";
	public static String PROP_EREL_ERELLASTCHANGETIME = "erelLastChangeTime";
	private String erelId;
	private Employee employee;
	private String erelRelationship;
	private String erelName;
	private Date erelBirthday;
	private Integer erelBirthdayRemind;
	private String erelCompany;
	private String erelPosition;
	private String erelContactInfo;
	private String erelCreateBy;
	private Date erelCreateDate;
	private String erelLastChangeBy;
	private Date erelLastChangeTime;

}
